I have previously posted a patch with changes to the xenbus for being
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 3 Feb 2006 10:54:05 +0000 (11:54 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 3 Feb 2006 10:54:05 +0000 (11:54 +0100)
commit49c3d24510499c20ef86d92a786161a981c64d26
tree2588d95bb43927c9568eb4ab1240575978011a39
parentb7327bd0814364890e3aec96612b59106d71f97d
I have previously posted a patch with changes to the xenbus for being
able to detect the reason why a frontend is created, which can be either
due to domain creation or a restore. The attached patch now puts this
functionality into XenD and allows driver implementations in Xend to
read the state and see whether a domain is currently being resumed or
created and write this value into the xenstore for hotplug scripts to
read it. The state of a domain being resumed is set when a
XendDomainInfo object is created and reset at the end of the restore
function.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/tpmif.py